package com.baizhi.dao;

import com.baizhi.entity.Person;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonDao {
    int insertPerson(Person p);
    int deletePerson(Integer id);
    List<Person> selectPerson(@Param("name") String name, @Param("start") Integer start, @Param("pageSize") Integer pageSize);
    int count(String name);
}
